import { asyncRouterMap } from '../router/index'
const getters = {
  visitedViews: state => state.app.visitedViews,
  sendCodeTime:state=>state.app.sendCodeTime,
  head:state=>state.app.head,
  leftMenu:state=>state.app.leftMenu,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  status: state => state.user.status,
  roles: state => state.user.roles,
  setting: state => state.user.setting,
  permission_routers: state => state.permission.routers,
  addRouters: state => asyncRouterMap
};
export default getters
